package qynlfb;

import java.util.StringJoiner;

/**
 * @author tanghailan
 * @date 2021年12月30日 18:01
 * @author—Email tanghailan@outlook.com
 * @blogURL https://blog.csdn.net/qq_42979402
 * @description
 */
public class User {
  private String username;
  private String password;

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  @Override
  public String toString() {
    return new StringJoiner(", ", User.class.getSimpleName() + "[", "]")
        .add("username='" + username + "'")
        .add("password='" + password + "'")
        .toString();
  }
}
